import pygame


class graphics():
    def __init__(self,size=(640,480)):
        self.size=size
        self.bgcolor=(255,255,255)
        self.color=(0,0,0)
        display=self.display=pygame.display
        screen=self.screen = display.set_mode(size)        
        screen.fill(self.bgcolor)
        
        
    def line(self,p1,p2):
        pygame.draw.aaline(self.screen,p1,p2)
        
